﻿@model Guline.Web.CentralModels.Object.Contact
@{
    ViewBag.Title = @Guline.Web.CentralLanguages.Main.lblCreateContact;
    Layout = "~/Views/Shared/_GLSettingLayout.cshtml";
}
<span class="s_title_body_right">@ViewBag.Title</span>
<div class="s_content_body_right" style="text-align:center">
    @using (Html.BeginForm())
    {
        <table border="0" style="display:inline-block">
            <col style="width:25%">
            <col style="width:75%">
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblPhoneNumber</td>
                <td class="td_left">
                    @Html.TextBoxFor(m => m.PhoneNumber)
                    <span class="msg">@Html.ValidationMessageFor(m => m.PhoneNumber)</span>
                </td>
            </tr>
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblContactName</td>
                <td class="td_left">
                    @Html.TextBoxFor(m => m.ContactName)
                    <span class="msg">@Html.ValidationMessageFor(m => m.ContactName)</span>
                </td>
            </tr>
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblAddress</td>
                <td class="td_left">
                    @Html.TextBoxFor(m => m.Address)
                    <span class="msg">@Html.ValidationMessageFor(m => m.Address)</span>
                </td>
            </tr>
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblAddedFrom</td>
                <td class="td_left">
                    @Html.EditorFor(m => m.AddedFrom)
                    <span class="msg">@Html.ValidationMessageFor(m => m.AddedFrom)</span>
                </td>
            </tr>
            @*<tr class="div_filed">
                    <td>Tài khoản</td>
                    <td>
                        @Html.DropDownList("AccountID", "---==== Select Account ====---")
                        <span class="msg">@Html.ValidationMessageFor(m => m.AccountID)</span>
                    </td>
                </tr>*@
        </table>
        <div class="submit">
            <input type="submit" value="@Guline.Web.CentralLanguages.Main.lblCreate" class="btn_submit center" />
            <a href="@Url.Action("Index")" class="center s_cancel">@Guline.Web.CentralLanguages.Main.lblCancel</a>
        </div>
    }
</div>

